#include "mode_part_config.h"

PART_INFO_T part_info;

void light_set_part_info(u8 len,u8 *buffer)
{
    part_info.len = len;
    memset(part_info.RGB,0,len);
    memcpy(part_info.RGB,buffer,len);
}

void light_get_part_info(PART_INFO_T *part_info1)
{
    memcpy(part_info1,&part_info,sizeof(PART_INFO_T));
}